
// OpenESSODoc.h : interface of the COpenESSODoc class
//
#pragma once
#include "ApplicationsManager.h"



class COpenESSODoc : public CDocument
{
private:
	CApplicationsManager* appMgr;
protected: // create from serialization only
	COpenESSODoc();
	DECLARE_DYNCREATE(COpenESSODoc)
	
public:
	static COpenESSODoc * GetDocument();

// Operations
public:
	
	void UpdateSelectedApplication();
	void UpdateSelectedAccount();
	void RefreshApplication();




// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~COpenESSODoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};


